<% @page_title = '電話受付 ＞ 一覧' %>
<h1>Listing receptions</h1>

<table class="confirm" cellpadding="5">
  <tr>
    <th>Call date</th>
    <th>Member</th>
	<th>Notes</th>
	<th>Created At</th>
	<th colspan="3">Operations</th>
  </tr>

<% for reception in @receptions %>
  <tr>
    <td><%=h reception.call_date %></td>
    <td><%=h reception.member.name %></td>
	<td><%=h reception.notes %></td>
	<td><%=h fmt_datetime(reception.created_at) %></td>
    <td><%= link_to 'Show', reception %></td>
    <td><%= link_to 'Edit', edit_reception_path(reception) %></td>
    <td><%= link_to 'Destroy', reception, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />
<%= will_paginate(@receptions) %>
<br />
<%= link_to 'New reception', new_reception_path %>
